package com.learn.component.service;

import com.learn.component.dao.HelloDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.ServletContext;

@Service
public class HelloService {
    @Autowired
    HelloDAO helloDAO;


    public String getMessage() {
        return helloDAO.getMessage();
    }
}
